package com.campus.customer.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value = "用户信息", description = "用户信息")
@Data
public class UserInfoVo {

    @ApiModelProperty("token，调用接口时放到header请求头中")
    private String token;

    @ApiModelProperty("用户id")
    private Integer id;

    @ApiModelProperty("微信openid")
    private String openid;

    @ApiModelProperty("用户昵称")
    private String nickname;

    @ApiModelProperty("用户头像URL")
    private String avatar;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("积分")
    private Integer points;

    @ApiModelProperty("用户等级")
    private Integer level;

    @ApiModelProperty("等级名称")
    private String levelName;

}
